|
4. Window Library -turn page- 5. Utility Library |
Reference List Window Library |
Elastic_Line Win,X1,Y1,R X2,R Y2,R Mb[,Action] | |
Win | Window identification number. |
X1 | X-coordinate of the start point of the line. |
Y1 | Y-coordinate of the start point of the line. |
X2 | X-coordinate of the end point of the line. |
Y2 | Y-coordinate of the end point of the line. |
Mb | Status of the mouse at return time. |
Action | Address of a function called with each mouse movement. |
Pull up a rubber band line. |
FN Gwin_Ptr(Win) | |
Win | Window identification number. |
Return the 'GWorldPtr'. |
FN Twin_Cellheight(Win) | |
Win | Window identification number. |
Determine height of letters. |
FN Twin_Cellwidth(Win) | |
Win | Window identification number. |
Determine width of letters. |
FN Twin_Csrlin(Win) | |
Win | Window identification number. |
Determine current cursor line. |
FN Twin_Getbackcolor(Win) | |
Win | Window identification number. |
Return the set background color. |
FN Twin_Getface(Win) | |
Win | Window identification number. |
Return the set text style. |
FN Twin_Getfont(Win) | |
Win | Window identification number. |
Return the set text font. |
FN Twin_Getforecolor(Win) | |
Win | Window identification number. |
Return the set text color. |
FN Twin_Getlen(Win,Y) | |
Win | Window identification number. |
Y | Number of the line, whose length should be queried. |
Determine length of text window line. |
FN Twin_Getline$(Win,Y) | |
Win | Window identification number. |
Y | Number of the line, whose content should be queried. |
Get text window line. |
FN Twin_Getsize(Win) | |
Win | Window identification number. |
Return the set text size. |
FN Twin_Inkey(Win) | |
Win | Window identification number. |
Query input of a character. |
FN Twin_Input(Win) | |
Win | Window identification number. |
Test whether the input of one line has been concluded. |
FN Twin_Input_Pos(Win) | |
Win | Window identification number. |
Return the X-position of the cursor within the input line. |
FN Twin_Input$(Win) | |
Win | Window identification number. |
Return the entered string. |
FN Twin_Pos(Win) | |
Win | Window identification number. |
Determine current cursor column. |
FN Win_Closed(Win) | |
Win | Window identification number. |
Determine if window has been closed. |
FN Win_Getflags(Win) | |
Win | Window identification number. |
Query the window flags. |
FN Win_Infoheight(Win) | |
Win | Window identification number. |
Height of information line. |
FN Win_Info$(Win) | |
Win | Window identification number. |
Query information line. |
FN Win_Kind(Win) | |
Win | Window identification number. |
Determine structure of marginal area. |
FN Win_Name$(Win) | |
Win | Window identification number. |
Query window name. |
FN Win_Ptr(Win) | |
Win | Window identification number. |
Return the 'WindowPtr'. |
FN Win_Type(Win) | |
Win | Window identification number. |
Determine window type. |
FN Win_Whichtop | |
Win | Window identification number. |
Determine the number of the active window. |
Gwin_Activate(Win) | |
Win | Window identification number. |
Activate graphics window. |
Gwin_Disactivate(Win) | |
Win | Window identification number. |
Deactivate graphics window. |
Gwin_Open
R Win,Win_X,Win_Y,Win_W,Win_H [,Virt_W,Virt_H],Name$ Gwin_Open R Win,Win_X,Win_Y,Win_W,Win_H, Virt_W,Virt_H,Name$,Info$[,Kind] |
|
Win | Window identification number. |
Win_X | X-position of the window on the real screen. |
Win_Y | Y-position of the window on the real screen. |
Win_W | Width of the window. |
Win_H | Height of the window. |
Virt_W | Width of the virtual screen. |
Virt_H | Height of the virtual screen. |
Name$ | The name of the window which is displayed in the title bar. |
Info$ | The content of the info line below the title bar. |
Kind | Window flags. |
. | G_Name | The name of the window is displayed. |
G_Close | The window has a closer. | |
G_Full | The window has a fuller. | |
G_Move | The window can be moved. | |
G_Info | The window has an info line. | |
G_Size | The window has a sizer. | |
G_Uparrow | Display scroll arrow up. | |
G_Dnarrow | Display scroll arrow down. |
. | G_Larrow | Display scroll arrow left. |
G_Rarrow | Display scroll arrow right. | |
G_Vslide | Display the vertical slider bar. | |
G_Hslide | Display the horizontal bar. | |
G_Palette (Bit 14) | Assign the system color palette to the window. | |
G_Hide (Bit 15) |
The window in hided but can be made visible with Win_Reopen. | |
G_All | All marginal elements except the info line are displayed. |
Open graphics window. |
Twin_Cls Win | |
Win | Window identification number. |
Clear text screen and immediately display result. |
Twin_Icls Win | |
Win | Window identification number. |
Clear text screen. |
Twin_Inkey Win | |
Win | Window identification number. |
Cause input of a character. |
Twin_Inkey_Clear Win | |
Win | Window identification number. |
Cancel input. |
Twin_Input_Fullbuff | |
Has no significance and is only for compatibility reasons available. |
Twin_Insert Win,Y,X,Txt$ | |
Win | Window identification number. |
Y | Y-position at which the text should be inserted. |
X | X-position at which the text should be inserted. |
Txt$ | Text to be inserted. |
Insert text. |
Twin_Iprint Win[[,Y,X][,Txt$]] | |
Win | Window identification number. |
Y | Y-position of the text. |
X | X-position of the text. |
Txt$ | Output text. |
Print text virtually and line feed. |
Twin_Iprint_ Win[,Y,X][,Txt$] | |
Win | Window identification number. |
Y | Y-position of the text. |
X | X-position of the text. |
Txt$ | Output text. |
Print text virtually without line feed. |
Twin_Iscrolldown Win[,N] | |
Win | Window identification number. |
N | Amount of lines. |
Scroll text window down. |
Twin_Iscrollup Win[,N] | |
Win | Window identification number. |
N | Amount of lines. |
Scroll text window up. |
Twin_Maxspace Lines | |
Lines | Amount of desired lines. |
Define the maximal amount of lines in text windows. |
Twin_Print Win[[,Y,X][,Txt$]] | |
Win | Window identification number. |
Y | Y-position of the text. |
X | X-position of the text. |
Txt$ | Text to be printed. |
Print text and line feed. |
Twin_Print_ Win[,Y,X][,Txt$] | |
Win | Window identification number. |
Y | Y-position of the text. |
X | X-position of the text. |
Txt$ | Text to be printed. |
Print text without line feed. |
Twin_Scrollup Win[,N] | |
Win | Window identification number. |
N | Amount of lines. |
Text window scroll up and display the result immediately. |
Twin_Scrolldown Win[,N] | |
Win | Window identification number. |
N | Amount of lines. |
Text window scroll down and display the result immediately. |
Twin_Setbackcolor Win,Font_Backcolor | |
Win | Window identification number. |
Font_Backcolor | Text background color. |
Set the background color for text output. |
Twin_Setface Win,Font_Face | |
Win | Window identification number. |
Font_Face | Flags for the individual text styles (same as with TEXT STYLE). |
Set text style. |
Twin_Setfont Win,Font_Nr | |
Win | Window identification number. |
Font_Nr | Identification number of the desired font. |
Set text font. |
Twin_Setforecolor Win,Font_Forecolor | |
Win | Window identification number. |
Font_Forecolor | Text color. |
Set text color. |
Twin_Setline Win,Y,Txt$ | |
Win | Window identification number. |
Y | Number of the line in which the text should be modified. |
Txt$ | New text. |
Modify text line. |
Twin_Setsize Win,Font_Size | |
Win | Window identification number. |
Font_Size | Font size. |
Set text size. |
Twin_Settextsize Win,Font_Size | |
Win | Window identification number. |
Font_Size | Font size. |
Change text size. |
Win_Activate Win | |
Win | Window identification number. |
Divert output into a real window. |
Win_Close Win | |
Win | Window identification number. |
Close and delete window. |
Win_Domessages Buffer$[,Closeaction] | |
Buffer$ | Contains the event string. |
Closeaction | Address of a function to be called before the window is closed. |
Process window events. |
Win_Full Win | |
Win | Window identification number. |
Bring window to maximal size. |
Win_Getstep Win,R Step_X,R Step_Y | |
Win | Window identification number. |
Step_X | Step size in X-direction. |
Step_Y | Step size in Y-direction. |
Query scroll step size. |
Win_Hide Win | |
Win | Window identification number. |
Make window invisible. |
Win_Info Win,Info$ | |
Win | Window identification number. |
Info$ | Text to be displayed into the info line. |
Modify info line. |
Win_Name Win,Name$ | |
Win | Window identification number. |
Name$ | Text to be dispayed into the title bar. |
Modify the text of the title bar. |
Win_Setflags Win,Flags | |
Win | Window identification number. |
Flags | Window flags. |
Set the window flags. |
Win_Setstep Win,Step_X,Step_Y | |
Win | Window identification number. |
Step_X | Step size in X-direction. |
Step_Y | Step size in Y-direction. |
Set scroll step size. |
Win_Top Win | |
Win | Window identification number. |
Bring window to the front. |
4. Window Library -turn page- 5. Utility Library |
© 1998-1999 Berkhan-Software www.berkhan.com | Home |